projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98ad54b
)
m68k: Fix bug, "address of" operator was forgotten
author
Vasili Galka
<
[email protected]
>
Mon, 30 Jun 2014 09:59:06 +0000
(12:59 +0300)
committer
Tom Rini
<
[email protected]
>
Mon, 7 Jul 2014 23:47:07 +0000
(19:47 -0400)
in_be16() shall be passed a pointer to register and not its value. This
is clearly a typo resulting in a wrong memory access, so fix it.
Cc: Alison Wang <
[email protected]
>, Jason Jin <
[email protected]
>
Signed-off-by: Vasili Galka <
[email protected]
>
arch/m68k/cpu/mcf5445x/speed.c
patch
|
blob
|
history
diff --git
a/arch/m68k/cpu/mcf5445x/speed.c
b/arch/m68k/cpu/mcf5445x/speed.c
index 07a9b359b5f9f76bd014a86ebf88e54ed9c68b37..4e363a419004bf12a54b457369e42a645a110cbd 100644
(file)
--- a/
arch/m68k/cpu/mcf5445x/speed.c
+++ b/
arch/m68k/cpu/mcf5445x/speed.c
@@
-115,7
+115,7
@@
void setup_5441x_clocks(void)
gd->cpu_clk = vco / temp; /* cpu clock */
gd->arch.flb_clk = vco / temp; /* FlexBus clock */
gd->arch.flb_clk >>= 1;
- if (in_be16(
ccm->misccr2) & 2)
/* fsys/4 */
+ if (in_be16(
&ccm->misccr2) & 2)
/* fsys/4 */
gd->arch.flb_clk >>= 1;
temp = ((pdr & PLL_DR_OUTDIV2_BITS) >> 5) + 1;